package com.woniu.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName wares_category
 */
@TableName(value ="wares_category")
@Data
public class WaresCategory implements Serializable {
    /**
     * 商品类别id
     */
    @TableId(type = IdType.AUTO)
    private Integer cid;

    /**
     * 类别名称
     */
    private String cname;

    /**
     * 上级id
     */
    private Integer parentCid;

    /**
     * 排序，数字越小越靠前
     */
    private Integer sort;

    /**
     * 创建时间
     */
    private String createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}